<?php
declare (strict_types = 1);

namespace app\admin\controller;

class Index
{
    public function set()
    {
        session('name','我饿中222');
    }
    public function get(){
        $session = session('name');
        return $session;
    }

}
